package suites.stub {
	import org.splink.deepsplink.navigation.INavigation;

	/**
	 * @author Max Kugland
	 */
	public class NavigationStub implements INavigation {
		private var _fnc : Function;

		public function NavigationStub(fnc : Function) {
			_fnc = (fnc != null) ? fnc : function(id : String, pageParams : Array = null, changed : Boolean = true) : void {
			};
		}

		public function select(id : String, pageParams : Array = null, changed : Boolean = true) : void {
			_fnc(id, pageParams, changed);
		}
	}
}
